package com.itheima.dao;


import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * 代码使我快乐 Administrator on 2019/12/1.
 */
public interface SetmealDao {

    public void add(Setmeal setmeal);

    public void setCheckgroupAndSetmeal(Map map);

    public List<Setmeal> findPage(QueryPageBean queryPageBean);

    public void deleteSetmeal(Integer id);

    public void edit(Setmeal setmeal);

    public void deleteCheckGroupIds(Integer id);

    public Setmeal findById(Integer id);

    public Setmeal findSetmealById(Integer id);

    public List<Integer> findBySetmealIdsAndByCheckGroupIds(Integer id);

    public List<Setmeal> findAll();

    public List<Map<String,Object>> findSetmealCount();

}
